package com.babyqiao.wallpaper.manager.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;

import java.io.Serializable;
import java.util.Date;

/**
 * 专辑图片的实体类
 *
 * @author qinglongzhai
 * @date 2020/12/10
 */
public class WallpaperAlbumPic implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    private String id;
    /**
     * 所属的专辑ID
     */
    private String albumId;
    /**
     * 演员id
     */
    private String actorId;

    /**
     * 图片URL
     */
    private String picUrl;

    /**
     * 是否上线
     */
    private Integer online;

    /**
     * 图片热度
     */
    private String hot;

    /**
     * 点赞
     * */
    private String likeIt;

    /**
     * 分享
     * */
    private String share;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

    /**
     * 逻辑删除
     */
    @TableLogic
    private Integer deleted;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAlbumId() {
        return albumId;
    }

    public void setAlbumId(String albumId) {
        this.albumId = albumId;
    }

    public String getActorId() {
        return actorId;
    }

    public void setActorId(String actorId) {
        this.actorId = actorId;
    }

    public String getPicUrl() {
        return picUrl;
    }

    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }

    public Integer getOnline() {
        return online;
    }

    public void setOnline(Integer online) {
        this.online = online;
    }

    public String getHot() {
        return hot;
    }

    public void setHot(String hot) {
        this.hot = hot;
    }

    public String getLikeIt() {
        return likeIt;
    }

    public void setLikeIt(String likeIt) {
        this.likeIt = likeIt;
    }

    public String getShare() {
        return share;
    }

    public void setShare(String share) {
        this.share = share;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }


    @Override
    public String toString() {
        return "WallpaperAlbumPic{" +
                "id='" + id + '\'' +
                ", albumId='" + albumId + '\'' +
                ", actorId='" + actorId + '\'' +
                ", picUrl='" + picUrl + '\'' +
                ", online=" + online +
                ", hot='" + hot + '\'' +
                ", likeIt='" + likeIt + '\'' +
                ", share='" + share + '\'' +
                ", gmtCreate=" + gmtCreate +
                ", gmtModified=" + gmtModified +
                ", deleted=" + deleted +
                '}';
    }
}
